(function() {
  var __hasProp = {}.hasOwnProperty,
    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };

  this.DashBoardView = (function(_super) {

    __extends(DashBoardView, _super);

    function DashBoardView() {
      return DashBoardView.__super__.constructor.apply(this, arguments);
    }

    DashBoardView.prototype.el = $('#content');

    DashBoardView.prototype.initialize = function() {
      $(this.el).off();
      return _.bindAll(this);
    };

    DashBoardView.prototype.events = {
      "click a.users": "users",
      "click a.authors": "authors",
      "click a.categories": "categories",
      "click a.books": "books",
      "click a.comments": "comments",
      "click a.responses": "responses"
    };

    DashBoardView.prototype.render = function() {
      var el,
        _this = this;
      el = $(this.el);
      return this.GetTemplate(SiteMap.Admin.Content.DashboardTemplate, function(compiledTemplate) {
        el.html(compiledTemplate(''));
        return Loading.Stop();
      });
    };

    DashBoardView.prototype.users = function(event) {
      event.preventDefault();
      return this.Navigate(SiteMap.Admin.Users.Listing, true);
    };

    DashBoardView.prototype.authors = function(event) {
      event.preventDefault();
      return this.Navigate(SiteMap.Admin.Authors.Listing, true);
    };

    DashBoardView.prototype.categories = function(event) {
      event.preventDefault();
      return this.Navigate(SiteMap.Admin.Categories.Listing, true);
    };

    DashBoardView.prototype.books = function(event) {
      event.preventDefault();
      return this.Navigate(SiteMap.Admin.Books.Listing, true);
    };

    DashBoardView.prototype.comments = function(event) {
      event.preventDefault();
      return this.Navigate(SiteMap.Admin.Comments.Listing, true);
    };

    DashBoardView.prototype.responses = function(event) {
      event.preventDefault();
      return this.Navigate(SiteMap.Admin.Responses.Listing, true);
    };

    return DashBoardView;

  })(CustomView);

}).call(this);
